#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int height;
	double weight;
	scanf("%d", &height);

	weight = (height - 100) * 0.9 * 2;

	printf("%.1lf", weight);
	return 0;
}